﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;

public partial class Controls_ProductListItem : System.Web.UI.UserControl
{
    public int ProductId;
    public string ImageUrl;
    public string Price;
    public string Description;
    public string Title;
    public string CssClass;
    public string ATTradeId;

    public bool Selected
    {
        get
        {
            return SelectCheck.Checked;
        }
        set
        {
            SelectCheck.Checked = value;
        }
    }
    public bool Featured 
    {
        get
        {
            return FeaturedCheck.Checked;
        }
        set
        {
            FeaturedCheck.Checked = value;
        }
    }

    protected void Page_Load(object sender, EventArgs e)
    {

    }

    protected void AvailabilityLink_Click(object sender, EventArgs e)
    {
        Response.Redirect(string.Format("~/AvailabilityCheck.aspx?id={0}", ATTradeId));
    }
}
